<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from www.zi-han.net/theme/hplus/login_v2.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:49 GMT -->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>{:config('WEB_SITE_TITLE')}后台管理系统 - 登录</title>
    <meta name="keywords" content="CocoCms内容管系统">
    <meta name="description" content="CocoCms内容管系统">
    <link href="{$statics}login/css/bootstrap.min.css" rel="stylesheet">
    <link href="{$statics}login/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="{$statics}login/css/animate.min.css" rel="stylesheet">
    <link href="{$statics}login/css/style.min.css" rel="stylesheet">
    <link href="{$statics}login/css/login.min.css" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="{$statics}layui/css/layui.css">
    <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
    <script>
        if(window.top!==window.self){window.top.location=window.location};
    </script>

</head>

<body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-7">
                <div class="signin-info">
                    <div class="logopanel m-b">
                        <h1>[ {:config('WEB_SITE_TITLE')} ]</h1>
                    </div>
                    <div class="m-b"></div>
                    <h4>欢迎使用 <strong>{:config('WEB_SITE_TITLE')} 后台管理系统</strong></h4>
                    <ul class="m-b">
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 方便</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 快速</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 安全</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 稳定</li>
                    </ul>
                    <!-- <strong>还没有账号？ <a href="#">立即注册&raquo;</a></strong> -->
                </div>
            </div>
            <div class="col-sm-5">
                <form method="post" action="{:url('login')}" id="loginid">
                    <h4 class="no-margins" style="color:#000">登录：</h4>
                    <p class="m-t-md" style="color:#000">登录到 {:config('WEB_SITE_TITLE')} 后台管理系统</p>
                    <input type="text" class="form-control uname" name="username" placeholder="用户名" />
                    <input type="password" class="form-control pword m-b" name="password" placeholder="密码" />
                    <input type="text" class="form-control pword m-b" name="code" id="code" placeholder="验证码" />
                    <!-- <a href="#">忘记密码了？</a> -->
                    <img src="{:captcha_src()}" id="captcha" style="cursor: pointer;" onclick="this.src='{:captcha_src()}?d='+Math.random();" title="点击刷新" alt="captcha" />
                    <button class="btn btn-success btn-block cocoFormAjax" formid="loginid" ajax-callback="gotoindex" error-callback="refresh_captcha" type="button" >登录</button>
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-center">
                &copy; 2016-2017 All Rights Reserved. cococms.com
            </div>
        </div>
    </div>
</body>

<script src="{$statics}plugins/jQuery/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="{$statics}layui/layui.js"></script>
<script type="text/javascript" src="{$statics}admin.js?v=112"></script>
<!-- Mirrored from www.zi-han.net/theme/hplus/login_v2.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:52 GMT -->
<script type="text/javascript">
    function gotoindex(obj,datajson){
        document.location = "{:url('admin/index/index')}";
    }
    function refresh_captcha(obj,datajson){
        $('#code').val("");
        $('#captcha').attr("src","{:captcha_src()}?d="+Math.random());
    }
</script>
</html>
